package com.leanit.pmc.reg.bean;

import com.leanit.pmc.common.util.SqlType;

/**
 * Created by admin on 2016/3/22.
 */
public class SysUser {
    @SqlType(defaultValue = "HIBERNATE_SEQUENCE.nextval")
    private String id;
    private String username;
    private String email;
    private String mobilePhoneNumber;
    private String password;
    private String salt;
    @SqlType(type = "date", format = "yyyy-mm-dd hh24:mi:ss", defaultValue = "sysdate")
    private String createDate;
    private String status;
    private String deleted;
    private String admin;
    private String cnName;
    private String companyCode;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getMobilePhoneNumber() {
        return mobilePhoneNumber;
    }

    public void setMobilePhoneNumber(String mobilePhoneNumber) {
        this.mobilePhoneNumber = mobilePhoneNumber;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getSalt() {
        return salt;
    }

    public void setSalt(String salt) {
        this.salt = salt;
    }

    public String getCreateDate() {
        return createDate;
    }

    public void setCreateDate(String createDate) {
        this.createDate = createDate;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getDeleted() {
        return deleted;
    }

    public void setDeleted(String deleted) {
        this.deleted = deleted;
    }

    public String getAdmin() {
        return admin;
    }

    public void setAdmin(String admin) {
        this.admin = admin;
    }

    public String getCnName() {
        return cnName;
    }

    public void setCnName(String cnName) {
        this.cnName = cnName;
    }

    public String getCompanyCode() {
        return companyCode;
    }

    public void setCompanyCode(String companyCode) {
        this.companyCode = companyCode;
    }

    @Override
    public String toString() {
        return "SysUser{" +
                "id='" + id + '\'' +
                ", username='" + username + '\'' +
                ", email='" + email + '\'' +
                ", mobilePhoneNumber='" + mobilePhoneNumber + '\'' +
                ", password='" + password + '\'' +
                ", salt='" + salt + '\'' +
                ", createDate='" + createDate + '\'' +
                ", status='" + status + '\'' +
                ", deleted='" + deleted + '\'' +
                ", admin='" + admin + '\'' +
                ", cnName='" + cnName + '\'' +
                ", companyCode='" + companyCode + '\'' +
                '}';
    }
}
